package com.appkubes.mall.restful.application.utm.service.impl;

import com.appkubes.mall.core.entity.MallUtmSource;
import com.appkubes.mall.core.service.impl.BaseMallUtmSourceServiceImpl;
import com.appkubes.mall.restful.application.utm.service.UtmSourceService;
import lombok.Data;
import org.springframework.stereotype.Service;

/**
 * @Author: leeming
 * @Date: 2020-02-20 16:01
 * @Description:
 */
@Service
@Data
public class UtmSourceServiceImpl extends BaseMallUtmSourceServiceImpl implements UtmSourceService {


    @Override
    public MallUtmSource getUtmSource(String utmSourceCode) {
        MallUtmSource utmSource = new MallUtmSource();
        utmSource.setUtmCode(utmSourceCode);
        return this.getOneByEntity(utmSource);
    }
}
